@model LynxWebLog.Models.ExternalLoginConfirmationViewModel
@{
    ViewBag.Title = "Register";
}

<hgroup>
    <h2>@ViewBag.Title.</h2>
    <h3>Associate your @Model.LoginProvider account.</h3>
</hgroup>

@using (Html.BeginForm("ExternalLoginConfirmation", "Account", new { ReturnUrl = ViewBag.ReturnUrl })) {
    @Html.AntiForgeryToken()
    @Html.ValidationSummary(true)

    <fieldset>
        <legend>Association Form</legend>
       <p class="text-success">
            You've successfully authenticated with <strong>@Model.LoginProvider</strong>.
            Please enter a user name for this site below and click the Register button to finish
            logging in.
        </p>
        <div class="col-sm-5 col-md-4 col-lg-3">
            <div class="row">
                <div class="form-group">
                    @Html.LabelFor(m => m.UserName, new { @class = "control-label" })
                            <div class="controls">
                                @Html.TextBoxFor(m => m.UserName, new { @class = "form-control" })
                                        @Html.ValidationMessageFor(m => m.UserName)
                                            </div>
                                        </div>
                                    </div>
            </div>
        <div class="row">
            <div class="col-sm-5 col-md-4 col-lg-3">
                <div class="form-group">
                    @Html.LabelFor(m => m.BlogName, new { @class = "control-label" })
                        <div class="controls">
                            @Html.TextBoxFor(m => m.BlogName, new { @class = "form-control" })
                                @Html.ValidationMessageFor(m => m.BlogName)
                                </div>
                            </div>
                        </div>
            </div>
                        @Html.HiddenFor(m => m.LoginProvider)
                            <input type="submit" class="btn btn-default btn-primary" value="Register" />
</fieldset>
}

@section Scripts {
    @Scripts.Render("~/bundles/jqueryval")
}
